public class yuanchang1 {
    public static void A(double r) {
        System.out.println("圆的面积是："+Math.PI*r*r);
    }

    public static void B(double a,double b) {
        System.out.println("长方形的面积是："+a*b);
    }

    }



